package com.tpyule.tpclass.util.FileUpload;

import com.aliyun.oss.model.PutObjectRequest;

import java.io.File;

/**
 * @author zzz
 * @version 1.0
 * @date 2020/3/27 0:11
 */
public class ImageUpload extends BaseUpload {
    public ImageUpload () {

    }
    public ImageUpload(String ImageName, File file) {
        PutObjectRequest putObjectRequest=new PutObjectRequest("jidiwangluo",ImageName,file);
        putObjectRequest.setMetadata(getMetadata());

    }
}
